package com.kbs.pay.management.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: jianchen
 * @Date: 2019/6/21 15:23
 * @Description: 优惠券
 */
public class Coupons implements Serializable {
    /**
     * 优惠券id
     */
    private Long couponsId;

    /**
     * 商户id
     */
    private Long merchantId;

    /**
     * 优惠券组id
     */
    private Long couponsGroupId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 1 正常 2 使用 3过期
     */
    private Integer couponsStatus;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private Long createBy;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 修改人
     */
    private Long updateBy;

    /**
     *
     */
    private Boolean isDelete;

    private static final long serialVersionUID = 1L;

    public Long getCouponsId() {
        return couponsId;
    }

    public void setCouponsId(Long couponsId) {
        this.couponsId = couponsId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getCouponsGroupId() {
        return couponsGroupId;
    }

    public void setCouponsGroupId(Long couponsGroupId) {
        this.couponsGroupId = couponsGroupId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getCouponsStatus() {
        return couponsStatus;
    }

    public void setCouponsStatus(Integer couponsStatus) {
        this.couponsStatus = couponsStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Boolean getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "Coupons{" +
                "couponsId=" + couponsId +
                ", merchantId=" + merchantId +
                ", couponsGroupId=" + couponsGroupId +
                ", userId=" + userId +
                ", couponsStatus=" + couponsStatus +
                ", createTime=" + createTime +
                ", createBy=" + createBy +
                ", updateTime=" + updateTime +
                ", updateBy=" + updateBy +
                ", isDelete=" + isDelete +
                '}';
    }
}